package com.slofzx.nuoda.evaluation.version.service;

import com.slofzx.nuoda.common.enums.ServiceResult;
import com.slofzx.nuoda.common.vo.FileVO;
import com.slofzx.nuoda.evaluation.project.controller.ReportInfoDTO;
import com.slofzx.nuoda.evaluation.project.dto.ReportInfoVO;
import com.slofzx.nuoda.evaluation.version.dto.CustomFileDTO;

import java.util.List;

/**
 * 生产报告(ProjectReportService)表服务接口
 *
 * @author nuoda
 * @since 2022-08-11 08:55:58
 */
public interface ProjectReportService {


    ServiceResult createReport(String batchId,String versionId);

    /**
     * 获取可研报告结果
     * @param versionId
     * @return
     */
    FileVO downloadReport(String versionId);

    List<ReportInfoVO> queryList(ReportInfoDTO dto);

    ServiceResult save(CustomFileDTO fileDTO);
}
